package cn.micai.base.concurrent;

import java.math.BigInteger;

/**
 * @Auther: zhaoxinguo
 * @Date: 2018/7/9 15:07
 * @Description:
 */
public class ExpensiveFunction implements Computable<String, BigInteger> {

    @Override
    public BigInteger compute(String arg) throws InterruptedException {
        // after deep thought......
        return new BigInteger(arg);
    }
}
